export const PAGE_CODE = 'dcs-sales-letterOfCredit';
import {PAGE} from '../constants';

//操作权限
export const PERMISSIONS = {
    add: 'add',
    update: 'update',
    receive: 'receive',
    export: 'export',
    import: 'import',
    close: 'close',
    approve: 'approve',
    submit: 'submit',
    financeApprove: 'financeApprove',
    draft: 'draft',
    history: 'history',
};

export const DEFAULT_QUERY_OPTION = {
    brandId: '',
    dealerId: '',
    lcCode: '',
    versionCode: undefined,
    beginIssueDate: '',
    endIssueDate: '',
    issueBank: '',
    issueCountry: '',
    lcKind: '',
    lcStatus: [],
    lcOfficialDraftType: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'code',
    isDesc: true,
};

export const DEFAULT_QUERY_OPTION_HISTORY = {
    brandId: '',
    dealerId: '',
    lcCode: '',
    versionCode: undefined,
    beginIssueDate: '',
    endIssueDate: '',
    issueBank: '',
    issueCountry: '',
    lcKind: '',
    lcStatus: [],
    lcOfficialDraftType: undefined,
    pageIndex: PAGE.index,
    pageSize: PAGE.size,
    sortField: 'code',
    isDesc: true,
};
